package com.jielihaofeng.nettyadvance.rpc.server.service;

/**
 * @author Johnnie Wind
 * @description Hello服务接口实现类
 * @date 2021/11/19 15:00
 */
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        int i = 1/0; // 异常，服务器返回一万多个字节的消息
        return "Hello, " + name;
    }
}
